
//分类的数据类型
export interface category {
      id: number,
      name: string
}

//服务器返回数据类型
export type categoryResponseData = category[];


//定义属性值类型
export interface attrValueModel {
      id?: number,
      valueName: string,
      attrId?: number,
      flag?: boolean,
}

//定义装属性值的数组
export type attrValueListModel = attrValueModel[];


//定义属性类型
export interface attrModel {
      id?: number,
      attrName: string,
      categoryId: string | number,
      categoryLevel: number,
      attrValueList: attrValueListModel
}

//定义服务器返回数据类型
export type attrResponseData = attrModel[]